package com.atwisdom.star.core.dao.pojo.customized;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @Date: 2023-08-28 10:57
 * 库存
 */
@Data
@NoArgsConstructor
public class Stock {
    String materialPcode;
    String materialBcode;
    String materialName;
    String materialSpec;
    String materialUnit;
    double weight;
    int quantity;
    Long   materialId;
    String warehouseKeeper;
    String warehouseCode;
    Long   warehouseId;
    String binCode;
    Long   binId;
    String batchNumber;
}

/**
 * 数据库存储信息：
 * [
 *     {
 *         "code": "s0",
 *         "comments": "物料品番",
 *         "name": "material_pcode",
 *         "type": "String",
 *         "group": [
 *             "general"
 *         ]
 *     },
 *     {
 *         "code": "i0",
 *         "comments": "物料ID",
 *         "defaultValue": null,
 *         "name": "material_id",
 *         "type": "Integer",
 *         "group": [
 *             "general"
 *         ]
 *     },
 *     {
 *         "code": "s1",
 *         "comments": "物料背番",
 *         "name": "material_bcode",
 *         "type": "String",
 *         "group": [
 *             "general"
 *         ]
 *     },
 *     {
 *         "code": "s2",
 *         "comments": "物料名称",
 *         "name": "material_name",
 *         "type": "String",
 *         "group": [
 *             "general"
 *         ]
 *     },
 *     {
 *         "code": null,
 *         "comments": "物料规格",
 *         "name": "material_spec",
 *         "type": "String",
 *         "group": [
 *             "general"
 *         ]
 *     },
 *     {
 *         "comments": "物料单位",
 *         "name": "material_unit",
 *         "type": "String",
 *         "group": [
 *             "general"
 *         ]
 *     },
 *     {
 *         "code": "",
 *         "comments": "重量",
 *         "defaultValue": null,
 *         "name": "weight",
 *         "type": "Double",
 *         "group": [
 *             "other"
 *         ]
 *     },
 *     {
 *         "code": "i2",
 *         "comments": "数量",
 *         "name": "quantity",
 *         "type": "Integer",
 *         "group": [
 *             "other"
 *         ]
 *     },
 *     {
 *         "code": "s7",
 *         "comments": "经手人",
 *         "name": "operator",
 *         "type": "String",
 *         "group": [
 *             "other"
 *         ]
 *     },
 *     {
 *         "code": null,
 *         "comments": "仓库管理员",
 *         "name": "warehouse_keeper",
 *         "type": "String",
 *         "group": [
 *             "other"
 *         ]
 *     },
 *     {
 *         "code": "s3",
 *         "comments": "仓库编码",
 *         "name": "warehouse_code",
 *         "type": "String",
 *         "group": [
 *             "other"
 *         ]
 *     },
 *     {
 *         "code": "i3",
 *         "comments": "仓库ID",
 *         "defaultValue": null,
 *         "name": "warehouse_id",
 *         "type": "Integer",
 *         "group": [
 *             "general"
 *         ]
 *     },
 *     {
 *         "code": "s4",
 *         "comments": "库位编码",
 *         "name": "bin_code",
 *         "type": "String",
 *         "group": [
 *             "other"
 *         ]
 *     },
 *     {
 *         "code": "i1",
 *         "comments": "库位ID",
 *         "defaultValue": null,
 *         "name": "bin_id",
 *         "type": "Integer",
 *         "group": [
 *             "general"
 *         ]
 *     },
 *     {
 *         "code": "s6",
 *         "comments": "批次号",
 *         "name": "batch_number",
 *         "type": "String",
 *         "group": [
 *             "general"
 *         ]
 *     }
 * ]
 */